import { StrictMode } from "react"
import { createRoot } from "react-dom/client"
import App from "./App.tsx"
import "@/assets/style/index.css"

document.documentElement.style.fontSize =
	(document.documentElement.clientWidth / 375) * 100 + "px"
document.addEventListener("resize", () => {
	document.documentElement.style.fontSize =
		(document.documentElement.clientWidth / 375) * 100 + "px"
})

createRoot(document.getElementById("root")!).render(
	<StrictMode>
		<App />
	</StrictMode>
)
